Node.js Express
expressに入る。
logging
Middleware functions can perform the following tasks:
Execute any code.
Make changes to the request and the response objects.
End the request-response cycle.
Call the next middleware function in the stack.
next()の使い方
どの回答もわかりやすい。
logger, session管理、staticファイルの提供などの middlewareがある。
参考